﻿

// =================================================================== 
// Module说明
//====================================================================
// 创建时间：2018-12-13 12:49:24
// 负责人：lvsc
// ===================================================================

using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using OF.Component.Model;
using System.Data;

namespace OF.Component.IDAL
{
	
	/// <summary>
	///快递费用模板 数据访问层接口  
	/// </summary>
	internal partial interface IExpressFeeTpl
	{
		
         /// <summary>
    	 /// 根据断言条件获取单个快递费用模板
    	 /// </summary>
    	 ExpressFeeTplInfo QuerySingle(Expression<Func<ExpressFeeTplInfo, bool>> predicate);
         
         /// <summary>
    	 /// 根据断言条件获获取快递费用模板列表
    	 /// </summary>
	     IList<ExpressFeeTplInfo> QueryList(Expression<Func<ExpressFeeTplInfo, bool>> predicate);

        /// <summary>
        /// 获取快递费用
        /// </summary>
        /// <param name="cityId"></param>
        /// <param name="bizTypeId"></param>
        /// <returns></returns>
        DataTable GetExpressFee(int cityId, int bizTypeId);

        /// <summary>
        /// 根据城市和公司获取快递费用
        /// </summary>
        /// <param name="companyID"></param>
        /// <param name="cityId"></param>
        /// <param name="bizTypeId"></param>
        /// <returns></returns>
        ExpressFeeTplInfo GetByCompany(int companyID, int cityId, int bizTypeId);

    } 

	
}